home *** CD-ROM | disk | FTP | other *** search
/ Designer's Club 1997 September / Designer's Club 1997 September.iso / pc / IDEASRC / Bugs.DIR / 00087.ls < prev    next >
Encoding:
Text File  |  1997-08-06  |  2.2 KB  |  97 lines

  1. on mouseDown
  2.   global hand
  3.   puppetSound(2, "tick")
  4.   if sprite 17 intersects 4 then
  5.     repeat while the mouseDown
  6.       set the memberNum of sprite 4 to 82
  7.       updateStage()
  8.     end repeat
  9.     set the memberNum of sprite 4 to 81
  10.     updateStage()
  11.     set hand to "pickup"
  12.     if the frame < 3 then
  13.       go("roach")
  14.     end if
  15.   end if
  16.   if sprite 17 intersects 3 then
  17.     repeat while the mouseDown
  18.       set the memberNum of sprite 3 to 19
  19.       updateStage()
  20.     end repeat
  21.     set the memberNum of sprite 3 to 18
  22.     updateStage()
  23.     set hand to "squash"
  24.     if the frame < 3 then
  25.       go("roach")
  26.     end if
  27.   end if
  28.   if sprite 17 intersects 16 then
  29.     if hand = "pickup" then
  30.       go("gotoneroach")
  31.     end if
  32.     if hand = "squash" then
  33.       puppetSound(2, "crunch")
  34.       repeat while the mouseDown
  35.         set the memberNum of sprite 17 to 9
  36.         updateStage()
  37.       end repeat
  38.     end if
  39.   end if
  40.   if sprite 17 intersects 10 then
  41.     repeat while the mouseDown
  42.       set the memberNum of sprite 10 to 70
  43.       updateStage()
  44.     end repeat
  45.     set the memberNum of sprite 10 to 61
  46.     updateStage()
  47.   end if
  48.   if sprite 17 intersects 11 then
  49.     repeat while the mouseDown
  50.       set the memberNum of sprite 11 to 73
  51.       updateStage()
  52.     end repeat
  53.     set the memberNum of sprite 11 to 62
  54.     updateStage()
  55.     if the frame < 48 then
  56.       go("tut")
  57.     else
  58.       go(the frame + 1)
  59.     end if
  60.   end if
  61.   if sprite 17 intersects 12 then
  62.     repeat while the mouseDown
  63.       set the memberNum of sprite 12 to 71
  64.       updateStage()
  65.     end repeat
  66.     set the memberNum of sprite 12 to 63
  67.     updateStage()
  68.     puppetSound(2, "goback")
  69.     sound stop 3
  70.     go(1, "main")
  71.   end if
  72.   if sprite 17 intersects 13 then
  73.     puppetSound(2, "byebye")
  74.     repeat while the mouseDown
  75.       set the memberNum of sprite 13 to 72
  76.       updateStage()
  77.     end repeat
  78.     set the memberNum of sprite 13 to 64
  79.     updateStage()
  80.     sound stop 3
  81.     go(1, "quit")
  82.   end if
  83.   if sprite 17 intersects 14 then
  84.     repeat while the mouseDown
  85.       set the memberNum of sprite 14 to 74
  86.       updateStage()
  87.     end repeat
  88.     set the memberNum of sprite 14 to 68
  89.     updateStage()
  90.     if soundBusy(3) then
  91.       sound stop 3
  92.     else
  93.       puppetSound(3, "help")
  94.     end if
  95.   end if
  96. end
  97.